package com.example.demo1.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data

public class Book implements Serializable {
    @JsonProperty("ID") // 关键：指定JSON字段名
    private String ID;
    private String name;
    private String author;
    private String date;
    private String press;
    private String price;
    private String statu;


}